import web
import json
from Handler import PathHandler

urls = ("/index","index")
render = web.template.render('templates')

app = web.application(urls,globals())

class index:
    def GET(self):
        i = web.input()
        handler = PathHandler(i.id1,i.id2)
        response = handler.GetResponse()
        #return render.index(i.id1,i.id2)
        print(repr(response))
        return response
      
if __name__ == "__main__":
    app.run()
